﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace simDC
{
    public partial class Microcode : Form
    {
        public Microcode()
        {
            InitializeComponent();
            listMicroCode.View = View.Details;
            listMicroCode.FullRowSelect = true;

            listMicroCode.Columns.Add("Address", 100, HorizontalAlignment.Center);
            listMicroCode.Columns.Add("Label", 100, HorizontalAlignment.Center);
            listMicroCode.Columns.Add("SBUS", 80, HorizontalAlignment.Center);
            listMicroCode.Columns.Add("DBUS", 80, HorizontalAlignment.Center);
            listMicroCode.Columns.Add("ALU", 80, HorizontalAlignment.Center);           
            listMicroCode.Columns.Add("RBUS", 80, HorizontalAlignment.Center);
            listMicroCode.Columns.Add("OtherOp", 100, HorizontalAlignment.Center);
            listMicroCode.Columns.Add("MEM", 80, HorizontalAlignment.Center);
            listMicroCode.Columns.Add("SUCCESOR", 200, HorizontalAlignment.Center);
            //listMicroCode.Columns.Add("JUMP", 100, HorizontalAlignment.Center);
            //listMicroCode.Columns.Add("ELSE", 100, HorizontalAlignment.Center);                        
        }

        private void listMicroCode_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        private void uMicroRTB_TextChanged(object sender, EventArgs e)
        {

        }

        private void Microcode_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.Hide();
            e.Cancel = true;   
        }

        private void Microcode_Load(object sender, EventArgs e)
        {

        }

        
    }
}
